<div id="page">
<aside>
      <!-- Start Live Search  -->
      <div class="block">
            <a href="/admin/category/add"> Add category</a> | <a href="/admin/item/add">Add product</a>
      </div>
      
<!-- ################## Danh mục sản phẩm ####################### -->
         
<ul id="sidebar-nav">
    <li>
        
        <a href="#"><?php echo $nameMainProduct[0]['name_vn']; ?></a>
        
        <ul class="drop" style="display: block;">
            <?php foreach ($listMainProduct as $pro) {; 
                if($pro['parent_id'] != 0) {
            ?>
                <li><a href="/admin/category/listProduct/<?php echo $pro['id']; ?> "> <?php echo $pro['name_vn']; ?></a></li>
            <?php }}; ?>

        </ul>
    </li>
    <li><a href="#"><?php echo $nameOtherProduct[0]['name_vn']; ?></a>
        <ul class="drop">
            <?php foreach($listOtherProduct as $pro) {; 
                if($pro['parent_id'] != 0) {
            ?>
                <li><a href="/admin/category/listProduct/<?php echo $pro['id']; ?> "> <?php echo $pro['name_vn']; ?></a></li>
            <?php }}; ?>
        </ul>
    </li>
</ul>
<br />
</aside>
<div id="page-content" class="container_12"> 
<a href="#" id="close_sidebar" class="tooltip east" title="Close Sidebar"> Close Sidebar </a>
<a href="#" id="open_sidebar" class="tooltip east" title="Open Sidebar">Open Sidebar</a>
